﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, DataContract(Name="CarrierQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class CarrierQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AddressField;
        [OptionalField]
        private string BAddressField;
        [OptionalField]
        private string BCityField;
        [OptionalField]
        private string BContact1Field;
        [OptionalField]
        private string BContact2Field;
        [OptionalField]
        private string BCountryCodeField;
        [OptionalField]
        private string BCountryField;
        [OptionalField]
        private string BEmail1Field;
        [OptionalField]
        private string BEmail2Field;
        [OptionalField]
        private string BFax1Field;
        [OptionalField]
        private string BFax2Field;
        [OptionalField]
        private string BPhone1Field;
        [OptionalField]
        private string BPhone2Field;
        [OptionalField]
        private string BStateField;
        [OptionalField]
        private string BZipField;
        [OptionalField]
        private string CarrierIDField;
        [OptionalField]
        private string CityField;
        [OptionalField]
        private string CompanyField;
        [OptionalField]
        private string Contact1Field;
        [OptionalField]
        private string Contact2Field;
        [OptionalField]
        private string CountryCodeField;
        [OptionalField]
        private string CountryField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescriptionField;
        [OptionalField]
        private string Email1Field;
        [OptionalField]
        private string Email2Field;
        [OptionalField]
        private string Fax1Field;
        [OptionalField]
        private string Fax2Field;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string Phone1Field;
        [OptionalField]
        private string Phone2Field;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string StateField;
        [OptionalField]
        private string Udf10Field;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string Udf6Field;
        [OptionalField]
        private string Udf7Field;
        [OptionalField]
        private string Udf8Field;
        [OptionalField]
        private string Udf9Field;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string VatField;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private string ZipField;

        [DataMember]
        public string Address
        {
            get
            {
                return this.AddressField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AddressField, value))
                {
                    this.AddressField = value;
                    base.RaisePropertyChanged("Address");
                }
            }
        }

        [DataMember]
        public string BAddress
        {
            get
            {
                return this.BAddressField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BAddressField, value))
                {
                    this.BAddressField = value;
                    base.RaisePropertyChanged("BAddress");
                }
            }
        }

        [DataMember]
        public string BCity
        {
            get
            {
                return this.BCityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BCityField, value))
                {
                    this.BCityField = value;
                    base.RaisePropertyChanged("BCity");
                }
            }
        }

        [DataMember]
        public string BContact1
        {
            get
            {
                return this.BContact1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BContact1Field, value))
                {
                    this.BContact1Field = value;
                    base.RaisePropertyChanged("BContact1");
                }
            }
        }

        [DataMember]
        public string BContact2
        {
            get
            {
                return this.BContact2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BContact2Field, value))
                {
                    this.BContact2Field = value;
                    base.RaisePropertyChanged("BContact2");
                }
            }
        }

        [DataMember]
        public string BCountry
        {
            get
            {
                return this.BCountryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BCountryField, value))
                {
                    this.BCountryField = value;
                    base.RaisePropertyChanged("BCountry");
                }
            }
        }

        [DataMember]
        public string BCountryCode
        {
            get
            {
                return this.BCountryCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BCountryCodeField, value))
                {
                    this.BCountryCodeField = value;
                    base.RaisePropertyChanged("BCountryCode");
                }
            }
        }

        [DataMember]
        public string BEmail1
        {
            get
            {
                return this.BEmail1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BEmail1Field, value))
                {
                    this.BEmail1Field = value;
                    base.RaisePropertyChanged("BEmail1");
                }
            }
        }

        [DataMember]
        public string BEmail2
        {
            get
            {
                return this.BEmail2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BEmail2Field, value))
                {
                    this.BEmail2Field = value;
                    base.RaisePropertyChanged("BEmail2");
                }
            }
        }

        [DataMember]
        public string BFax1
        {
            get
            {
                return this.BFax1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BFax1Field, value))
                {
                    this.BFax1Field = value;
                    base.RaisePropertyChanged("BFax1");
                }
            }
        }

        [DataMember]
        public string BFax2
        {
            get
            {
                return this.BFax2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BFax2Field, value))
                {
                    this.BFax2Field = value;
                    base.RaisePropertyChanged("BFax2");
                }
            }
        }

        [DataMember]
        public string BPhone1
        {
            get
            {
                return this.BPhone1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BPhone1Field, value))
                {
                    this.BPhone1Field = value;
                    base.RaisePropertyChanged("BPhone1");
                }
            }
        }

        [DataMember]
        public string BPhone2
        {
            get
            {
                return this.BPhone2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.BPhone2Field, value))
                {
                    this.BPhone2Field = value;
                    base.RaisePropertyChanged("BPhone2");
                }
            }
        }

        [DataMember]
        public string BState
        {
            get
            {
                return this.BStateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BStateField, value))
                {
                    this.BStateField = value;
                    base.RaisePropertyChanged("BState");
                }
            }
        }

        [DataMember]
        public string BZip
        {
            get
            {
                return this.BZipField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BZipField, value))
                {
                    this.BZipField = value;
                    base.RaisePropertyChanged("BZip");
                }
            }
        }

        [DataMember]
        public string CarrierID
        {
            get
            {
                return this.CarrierIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierIDField, value))
                {
                    this.CarrierIDField = value;
                    base.RaisePropertyChanged("CarrierID");
                }
            }
        }

        [DataMember]
        public string City
        {
            get
            {
                return this.CityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CityField, value))
                {
                    this.CityField = value;
                    base.RaisePropertyChanged("City");
                }
            }
        }

        [DataMember]
        public string Company
        {
            get
            {
                return this.CompanyField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CompanyField, value))
                {
                    this.CompanyField = value;
                    base.RaisePropertyChanged("Company");
                }
            }
        }

        [DataMember]
        public string Contact1
        {
            get
            {
                return this.Contact1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Contact1Field, value))
                {
                    this.Contact1Field = value;
                    base.RaisePropertyChanged("Contact1");
                }
            }
        }

        [DataMember]
        public string Contact2
        {
            get
            {
                return this.Contact2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Contact2Field, value))
                {
                    this.Contact2Field = value;
                    base.RaisePropertyChanged("Contact2");
                }
            }
        }

        [DataMember]
        public string Country
        {
            get
            {
                return this.CountryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CountryField, value))
                {
                    this.CountryField = value;
                    base.RaisePropertyChanged("Country");
                }
            }
        }

        [DataMember]
        public string CountryCode
        {
            get
            {
                return this.CountryCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CountryCodeField, value))
                {
                    this.CountryCodeField = value;
                    base.RaisePropertyChanged("CountryCode");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Description
        {
            get
            {
                return this.DescriptionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescriptionField, value))
                {
                    this.DescriptionField = value;
                    base.RaisePropertyChanged("Description");
                }
            }
        }

        [DataMember]
        public string Email1
        {
            get
            {
                return this.Email1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Email1Field, value))
                {
                    this.Email1Field = value;
                    base.RaisePropertyChanged("Email1");
                }
            }
        }

        [DataMember]
        public string Email2
        {
            get
            {
                return this.Email2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Email2Field, value))
                {
                    this.Email2Field = value;
                    base.RaisePropertyChanged("Email2");
                }
            }
        }

        [DataMember]
        public string Fax1
        {
            get
            {
                return this.Fax1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Fax1Field, value))
                {
                    this.Fax1Field = value;
                    base.RaisePropertyChanged("Fax1");
                }
            }
        }

        [DataMember]
        public string Fax2
        {
            get
            {
                return this.Fax2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Fax2Field, value))
                {
                    this.Fax2Field = value;
                    base.RaisePropertyChanged("Fax2");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string Phone1
        {
            get
            {
                return this.Phone1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Phone1Field, value))
                {
                    this.Phone1Field = value;
                    base.RaisePropertyChanged("Phone1");
                }
            }
        }

        [DataMember]
        public string Phone2
        {
            get
            {
                return this.Phone2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Phone2Field, value))
                {
                    this.Phone2Field = value;
                    base.RaisePropertyChanged("Phone2");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    base.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string State
        {
            get
            {
                return this.StateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StateField, value))
                {
                    this.StateField = value;
                    base.RaisePropertyChanged("State");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    base.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf10
        {
            get
            {
                return this.Udf10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf10Field, value))
                {
                    this.Udf10Field = value;
                    base.RaisePropertyChanged("Udf10");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    base.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    base.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    base.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    base.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string Udf6
        {
            get
            {
                return this.Udf6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf6Field, value))
                {
                    this.Udf6Field = value;
                    base.RaisePropertyChanged("Udf6");
                }
            }
        }

        [DataMember]
        public string Udf7
        {
            get
            {
                return this.Udf7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf7Field, value))
                {
                    this.Udf7Field = value;
                    base.RaisePropertyChanged("Udf7");
                }
            }
        }

        [DataMember]
        public string Udf8
        {
            get
            {
                return this.Udf8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf8Field, value))
                {
                    this.Udf8Field = value;
                    base.RaisePropertyChanged("Udf8");
                }
            }
        }

        [DataMember]
        public string Udf9
        {
            get
            {
                return this.Udf9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf9Field, value))
                {
                    this.Udf9Field = value;
                    base.RaisePropertyChanged("Udf9");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string Vat
        {
            get
            {
                return this.VatField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VatField, value))
                {
                    this.VatField = value;
                    base.RaisePropertyChanged("Vat");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public string Zip
        {
            get
            {
                return this.ZipField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ZipField, value))
                {
                    this.ZipField = value;
                    base.RaisePropertyChanged("Zip");
                }
            }
        }
    }
}

